<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="CommunityController.*,java.util.*, java.io.*,java.sql.*" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=EUC-KR">
<title>Insert title here</title>
</head>
<%
ArrayList<BCBoardBean> datas2=(ArrayList<BCBoardBean>)request.getAttribute("list");

%>
<body>
<div>

<table border="1" width="300" height="200" cellpadding="0" cellspacing="0">
	<tr>
		<td>NO</td>
		<td>タイトル</td>
		<td>ユーザー名</td>
		<td>日付</td>
	</tr>
	<%
		for(BCBoardBean bCBoardBean:datas2){
		%>
	<tr>
		
		<td><%= bCBoardBean.getId() %></td>
		<td><%= bCBoardBean.getBc_title() %></td>
		<td><%= bCBoardBean.getBc_nick() %></td>
		<td><%= bCBoardBean.getBc_date() %></td>
	  	
	</tr>
	<%
		}
	  	%>
</table>
</div>
</body>
</html>